<?php
namespace app\admin\widget;

use think\Controller;

class Upload extends Controller
{
    public function image($vars = [])
    {
        !isset($vars['value']) && $vars['value'] = '';
        $this->assign('data', (object)$vars);
        return $this->fetch('/image');
    }
}
